/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.rd.project.controller;

import com.rd.project.service.HelloWorldService;

import javax.ejb.EJB;
import javax.faces.bean.ManagedBean;

/**
 *
 * @author Jelle
 */
@ManagedBean(name="helloWorldController")
public class HelloWorldController {
    
    @EJB
    private HelloWorldService helloWorldService;
    public String getHelloWorldMessage(){
        return helloWorldService.helloJeeWorld();
    }
}
